﻿using System;
namespace MxWeiXinPF.Model
{
    /// <summary>
    /// 优惠券关联表
    /// </summary>
    [Serializable]
    public partial class wx_shop_coupon_data
    {
        public wx_shop_coupon_data()
        { }
        #region Model
        private int _id;
        private int _shopid;
        private string _openid;
        private int _gettype;
        private int _status;
        private DateTime _usetime;
        private DateTime _gettime;
        private int _senduid;
        private int _ordersn;
        private int _couponid;
        private int _sendmsgstate;
        private DateTime _sendmsgtime;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 店铺编号
        /// </summary>
        public int shopid
        {
            set { _shopid = value; }
            get { return _shopid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string openid
        {
            set { _openid = value; }
            get { return _openid; }
        }
        /// <summary>
        /// 优惠券获取类型0商家活动1购物赠送2用户活动
        /// </summary>
        public int gettype
        {
            set { _gettype = value; }
            get { return _gettype; }
        }
        /// <summary>
        /// 状态0未使用,1已使用2已作废
        /// </summary>
        public int status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 使用时间
        /// </summary>
        public DateTime usetime
        {
            set { _usetime = value; }
            get { return _usetime; }
        }
        /// <summary>
        /// 优惠券获取时间
        /// </summary>
        public DateTime gettime
        {
            set { _gettime = value; }
            get { return _gettime; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int senduid
        {
            set { _senduid = value; }
            get { return _senduid; }
        }
        /// <summary>
        /// 订单编号
        /// </summary>
        public int ordersn
        {
            set { _ordersn = value; }
            get { return _ordersn; }
        }
        /// <summary>
        /// 优惠券ID
        /// </summary>
        public int couponid
        {
            set { _couponid = value; }
            get { return _couponid; }
        }
        /// <summary>
        /// 推送消息状态0未推送1已推送
        /// </summary>
        public int sendmsgstate
        {
            set { _sendmsgstate = value; }
            get { return _sendmsgstate; }
        }
        /// <summary>
        /// 发送消息时间
        /// </summary>
        public DateTime sendmsgtime
        {
            set { _sendmsgtime = value; }
            get { return _sendmsgtime; }
        }
        #endregion Model

    }
}

